<!doctype html>
<html>
<head>
 <title>IE7 {CSS2: auto}</title>

 <!-- Compliance patch for Microsoft browsers -->
 <!--[if lt IE 9]><script src="../trunk/lib/IE9.js"></script><![endif]-->

 <style>

  p[title$="bye"] {

   background-color: yellow;

  }

 </style>
</head>

<body>
 <script src="ie7-demo.js"></script>
 <h2>[attr$="value"]</h2>
 <p title="hello">This is a normal paragraph.</p>
 <p title="bye">This should be yellow.</p>
 <p title="goodbye">This should be yellow.</p>

 <p>&lt;&nbsp;<a href="index.html">back</a></p>
</body>
</html>
